package com.zzq.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.zzq.domain.entity.SmileAlbumPhoto;
import com.zzq.mapper.SmileAlbumPhotoMapper;
import com.zzq.service.SmileAlbumPhotoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 谢文宗
 * @since 2023-08-22
 */
@Service
public class SmileAlbumPhotoServiceImpl extends ServiceImpl<SmileAlbumPhotoMapper, SmileAlbumPhoto> implements SmileAlbumPhotoService {

//    @Autowired
//    SmileAlbumPhotoMapper albumPhotoMapper;

//    @Override
//    public void updataRecordIdBatchByalbumId(Long albumId,Long recordId) {
//        LambdaUpdateWrapper<SmileAlbumPhoto> updateWrapper=new LambdaUpdateWrapper<>();
//        updateWrapper.eq(SmileAlbumPhoto::getAlbumId,albumId);
//        updateWrapper.set(SmileAlbumPhoto::getShootRecordId,recordId);
//        albumPhotoMapper.u(updateWrapper)
//    }
}
